export default {
    state: {
        name:'未登录'
    },
    mutations: {
        nameFun(state,name){
            state.name=name
        }
    },
    actions: {
        nameFunchange({commit},name){
            commit('nameFun',name)
        }
    },
    namespaced: true,
}